from google.appengine.ext import db

class Idea(db.Model):
    symbol = db.StringProperty(required=True)
    pronunciation = db.StringProperty()
    
class Associate(db.Model):
    idea = db.ReferenceProperty(Idea, collection_name="associates", required=True)
    mimetype = db.StringProperty(required=True)
    blob = db.BlobProperty()
